package com.jwsoft.manager.core.integration;

import com.bifang.module.base.common.vo.org.OrgTreeVO;
import com.bifang.module.base.common.vo.tree.TreeRetVO;
import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduFormEnroll.EduFormEnrollKeyVO;
import com.jwsoft.manager.common.vo.eduFormEnroll.EduFormEnrollQueryVO;
import com.jwsoft.manager.common.vo.eduFormEnroll.EduFormEnrollSchoolVO;
import com.jwsoft.manager.common.vo.eduFormEnroll.EduFormEnrollVO;
import com.jwsoft.manager.common.vo.eduFormEnrollParams.EduFormEnrollParamsVO;
import com.jwsoft.manager.common.vo.eduFormEnrollParams.SaveFormEnrollParamsVO;
import com.jwsoft.manager.common.vo.eduFormSpecial.FormSaveVO;

import java.util.List;

/**
 * 报名表单管理业务本地接口
 *
 * @author chenzh
 * @since 2023-02-10
 */
public interface EduFormEnrollIntegration {
    /** 分页查询 */
    PageInfo<EduFormEnrollVO> getList(EduFormEnrollQueryVO vo);
    /** 根据主键查询详情 */
    EduFormEnrollVO getById(EduFormEnrollKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduFormEnrollVO vo);
    /** 新增/修改 */
    EduFormEnrollVO save(EduFormEnrollVO vo);
    /** 修改 */
    EduFormEnrollVO edit(EduFormEnrollVO vo);
    /** 根据主键删除 */
    void del(EduFormEnrollKeyVO vo);

    /** 根据表单id获取表单字段配置信息 */
    List<EduFormEnrollParamsVO> getParamsListByFormId(EduFormEnrollKeyVO vo);
    /** 根据学校id获取表单配置信息 */
    List<EduFormEnrollVO> getFormListBySchoolId(EduFormEnrollSchoolVO vo);

    void saveYwFixedFormInfo(FormSaveVO vo);

    /**动态表单字段配置保存**/
    void saveFormEnrollParams(SaveFormEnrollParamsVO vo);

    TreeRetVO getFormEmrollPramTreeList(OrgTreeVO orgTreeVO);





}
